package cn.kgc.git01.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class helloController {

    @RequestMapping("/hello")
    public String hello(){
        return "index";
    }

    @RequestMapping("/add")
    public String add(){
        return "add";
    }

    @RequestMapping("/del")
    public String del(){
        return "del";
    }

    @RequestMapping("/error")
    public String error(){
        return "bug";
    }
}
